import ZbRequest from '../index'

export const addStudent = (data) => ZbRequest.post('/student', data)
export const deleteStudent = (id) => ZbRequest.delete('/student/' + id, {})
export const updateStudent = (id, data) => ZbRequest.put('/student/' + id, data)

export const getStudent = (data) => ZbRequest.get(`/student`, data)



export const getExcel = (id) => ZbRequest.get('/student/excel/'+id, {} );

// export const getStudent = (id) => ZbRequest.get(`/student`, {})
export const getStudentDetail = (id) => ZbRequest.get('/student/' + id, {})